package com.heima.feign.article.fallback;

import com.heima.feign.article.IArticleClient;
import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.stereotype.Component;

/**
 * @author 陈辉
 * @data 2023 17:45
 */
@Component
public class IArticleClientImpl implements IArticleClient {
    @Override
    public ResponseResult saveOrUpdate(ArticleDto articleDto) {
        return ResponseResult.errorResult(501,"服务器正忙...");
    }
}
